#ifndef TASKSINIT_H__
#define TASKSINIT_H__

#include "los_task.h"
#include "los_event.h"

#define TASK_PRIOTY_H   
#define TASK_PRIOTY_M   
#define TASK_PRIOTY_L   

//给主函数启动用的
extern unsigned int tasksInit_id;
extern TSK_INIT_PARAM_S tasksInit_handler;
extern void tasksInit(void);

//同步资源
extern unsigned int pageManage_qId, sensorData_qId, bspInit_qId, doorCntl_qId, cntlCenter_qId, autoMode_qId;

#define BSPINIT_EVENT_INITOK    0x00000001

extern EVENT_CB_S bspInit_ECB;
extern EVENT_CB_S autoMode_awayHome_ECB, autoMode_backHome_ECB, autoMode_manual_ECB;

#endif
